<include file="Public/siteTopbar" />
<script src="__STATIC__/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/slider.js"></script>
<include file="Public/header" />

<div class="container usercenter" >

    <include file="User/menu" />

     <div class="col-sm-9">
        <div class="he50 wddd">
            <div class="page-title">
                <h1 style="float:left;">My Coupon</h1>
                  
                <button type="button" title="Add New Address" class="button" onClick="javascript:window.location='{:U('Home/User/couponlist')}';" style="float:right;"><span><span>Receive coupons</span></span></button>
            </div>
           
        </div>
        <div class="wddd-js ov-in">
        
        <table class="data-table" id="my-orders-table">
    <colgroup>
    <col>
    <col>
    </colgroup><thead>
        <tr class="first last">
            <th>Coupon Name</th>
            <th>Validity</th>
        </tr>
    </thead>
    <tbody>
     <volist name="coupon_list" id="coupon">
        <tr class="first odd" >
            <td>{$coupon.name}</td>
            <td>{$coupon.use_end_time|date='m/d/Y',###}</td>
            
        </tr>
         <tr>
             <td colspan="2" align="left">
                 {$coupon.description|htmlspecialchars_decode}</td>
         </tr>

        </volist>
            
            </tbody>
</table>


        </div>
        <div>{$page}</div>
    </div>
    <div class="clear"></div>
</div>
<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->


</body>
<script>
    /*$(function () {
     $("#h-s").click(function () {
     $('.ec-ta-x').css('left','124px');
     $('.ec-ta-x').css('width','110px');
     $(this).addClass("cullent");
     $('#q-s').removeClass("cullent");
     });
     });
     */
</script>

<script>
    $(function () {
        $(function () {
            $("#q-s").mouseover(function () {
                $('.ec-ta-x').css('left','0px');
                $(this).addClass("cullent");
            });
            $("#q-s").mouseout(function () {
                $('.ec-ta-x').css('left','0px');
            });
        });
        $("#h-s").mouseover(function () {
            $('.ec-ta-x').css('left','68px');
            $(this).addClass("cullent");
        });
        $("#h-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
            $(this).removeClass("cullent");
        });
    });

    $(function () {
        $("#j-s").mouseover(function () {
            $('.ec-ta-x').css('left','136px');
            $(this).addClass("cullent");
        });
        $("#j-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
            $(this).removeClass("cullent");
        });
    });
</script>
</html>>>>